
/* 


	// 岗位名称,企业自定义,不过会强关联到职业表
	post_name:String,
	// 岗位描述
	post_desc:String,
	// 岗位最低薪资
	post_low_salary:Number,
	// 最高薪资
	post_high_salary:Number,

	// 岗位所属公司
	job_companyID : {type:Schema.Types.ObjectId,ref: 'company'},
	// 岗位发布者id
	job_publisherID : {type:Schema.Types.ObjectId,ref: 'user'},
	// 岗位工作地区 - 还要搞个地区管理
	job_address : {type:Schema.Types.ObjectId,ref: 'address.shiji.xianji'},
	// 具体街道信息
	job_detail_address:String,

	// 职业id ,该岗位需要哪个职业,强关联
	profession_id : {type:Schema.Types.ObjectId,ref: 'profession'},

	// 该岗位,需要在当前赛季的段位,关联到 段位表,  ,用户投递时,需要查询该用户的段位
	profession_surface_rank: {type:Schema.Types.ObjectId,ref: 'surface_rank'},

	// 岗位赛季年份
	post_stage:{type:Schema.Types.ObjectId,ref: 'stage'},

*/


class job_bean{
		constructor(post_name,post_desc,post_low_salary,post_high_salary,job_companyID,job_publisherID,job_address,job_detail_address,profession_id,profession_surface_rank,post_stage,additional_kemu){
			this.post_name = post_name
			this.post_desc = post_desc
			this.post_low_salary = post_low_salary
			this.post_high_salary = post_high_salary
			this.job_companyID = job_companyID
			this.job_publisherID = job_publisherID
			this.job_address = job_address
			this.job_detail_address = job_detail_address
			this.profession_id = profession_id
			this.profession_surface_rank = profession_surface_rank
			this.post_stage = post_stage
			this.additional_kemu = additional_kemu		
	}
}



module.exports = {
	job_bean
}